import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner num = new Scanner(System.in);
        int r = num.nextInt();
        double s = 3.14*r*r;
        System.out.println(s);
    }
}
